/**
 * 
 */
package com.gite.nouette.admin.implementation.controller.command;

import com.gite.nouette.admin.contract.controller.ICModule;
import com.gite.nouette.admin.contract.controller.command.ICCommandRemoveModule;
import com.gite.nouette.admin.contract.model.IModule;
import com.gite.nouette.admin.contract.model.command.ICommandRemoveModule;
import com.gite.nouette.admin.contract.view.command.IVCommandRemoveModule;

/**
 * @author Cyril
 * 
 */
public class CCommandRemoveModuleImpl
		extends
		AbstractCCommandHandlerModule<IVCommandRemoveModule, ICommandRemoveModule>
		implements ICCommandRemoveModule {
	private ICommandRemoveModule model = null;
	private IVCommandRemoveModule view = null;

	/**
	 * @return the model
	 */
	@Override
	public ICommandRemoveModule getM() {
		return this.model;
	}

	/**
	 * @param model
	 *            the model to set
	 */
	@Override
	public void setM(ICommandRemoveModule model) {
		this.model = model;
	}

	/**
	 * @return the view
	 */
	@Override
	public IVCommandRemoveModule getV() {
		return this.view;
	}

	/**
	 * @param view
	 *            the view to set
	 */
	@Override
	public void setV(IVCommandRemoveModule view) {
		this.view = view;
	}

	@Override
	public void setModule(IModule module) {
		setCModule((ICModule<?,?>) module);
	}

	@Override
	public void setCModule(ICModule<?,?> cModule) {
		getM().setModule(cModule);
	}

	@Override
	public IModule getModule() {
		return getM().getModule();
	}
}
